package com.liantong.common.mapper;

import com.liantong.common.po.Preview;
import com.liantong.common.po.PreviewExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface PreviewMapper {
    int countByExample(PreviewExample example);

    int deleteByExample(PreviewExample example);

    List<Preview> selectByExample(PreviewExample example);

    int updateByExampleSelective(@Param("record") Preview record, @Param("example") PreviewExample example);

    int updateByExample(@Param("record") Preview record, @Param("example") PreviewExample example);

    List<Preview> selectByExampleAndPage(PreviewExample example, RowBounds rowBound);

    int deleteByPrimaryKey(String id);

    int insert(Preview record);

    int insertSelective(Preview record);

    Preview selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Preview record);

    int updateByPrimaryKey(Preview record);
}